#ifndef TIMERBTN_H
#define TIMERBTN_H
#include <QPushButton>
#include <QTimer>

class TimerBtn:public QPushButton
{
public:
    TimerBtn(QWidget *parent = nullptr);

    virtual void mouseReleaseEvent(QMouseEvent *e) override;
    ~TimerBtn();

private:
    QTimer *timer_;
    int counter_;
};


#endif // TIMERBTN_H
